--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 6ed16916d645a84e7aa623c904fcfbeccf1940ef
Parents : 754ae96
Author : Mark Qvist <mark@unsigned.io>
Date : 2024-01-07T16:51:30+01:00
Fixed get fields method
Changes
Diff
diff --git a/LXMF/LXMessage.py b/LXMF/LXMessage.py
index 5c59202..0fe1ccf 100644
--- a/LXMF/LXMessage.py
+++ b/LXMF/LXMessage.py
@@ -168,7 +168,7 @@ class LXMessage:
raise ValueError("LXMessage property \"fields\" can only be dict or None")
def get_fields(self):
- return self.__fields
+ return self.fields
def set_destination(self, destination):
if self.destination == None:
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────